@import "./common.scss";

@font-face {
    font-family: "by";
    src: url("../font/AlexBrush-Regular.ttf");
}

.wrap {
    header {
        width: 100%;
        height: 722px;

        nav {
            .title {
                a:nth-child(1) {
                    color: #cf0d0d;
                    border-bottom: 3px solid #cf0d0d;
                    font-weight: bold;
                }
            }
        }

        .photo {
            width: 100%;
            height: 650px;
            position: relative;

            .imgBox {
                img {
                    display: block;
                }
            }

            .textBox {
                position: absolute;
                top: 156px;
                left: 1067px;
                color: #fff;

                h1 {
                    font-size: 60px;
                    letter-spacing: 4px;
                }

                p {
                    font-size: 24px;
                }

                >span {
                    display: block;
                    width: 335px;
                    font-size: 12px;
                    line-height: 16px;
                    letter-spacing: 2px;
                    margin-top: 30px;
                }

                .previewBox {
                    margin-top: 80px;

                    >span {
                        display: inline-block;
                        position: relative;
                        width: 120px;
                        height: 24px;
                        line-height: 24px;
                        text-align: center;

                        span {
                            font-size: 36px;
                            position: absolute;
                            top: -10px;
                            left: 20px;
                        }

                        &:nth-child(1) {
                            width: 140px;
                            background-color: #cd5454;

                            &::before {
                                content: "";
                                width: 0;
                                height: 0;
                                display: block;
                                border-right: 20px solid #cd5454;
                                border-top: 12px solid transparent;
                                border-bottom: 12px solid transparent;
                                position: absolute;
                                top: 0;
                                left: -20px;
                            }
                        }

                        &:nth-child(2) {
                            background-color: #cd3737;

                            &::before {
                                content: "";
                                width: 0;
                                height: 0;
                                display: block;
                                border-right: 20px solid #cd3737;
                                border-top: 12px solid transparent;
                                border-bottom: 12px solid transparent;
                                position: absolute;
                                top: 0;
                                left: -20px;
                            }
                        }

                        &:nth-child(3) {
                            background-color: #d10f0f;

                            &::before {
                                content: "";
                                width: 0;
                                height: 0;
                                display: block;
                                border-right: 20px solid #d10f0f;
                                border-top: 12px solid transparent;
                                border-bottom: 12px solid transparent;
                                position: absolute;
                                top: 0;
                                left: -20px;
                            }
                        }
                    }
                }
            }
        }
    }

    main {
        width: 1304px;
        height: 5470px;
        margin: 0 auto;
        background-color: #f3f3f3;
        padding: 0 46px;

        .artwBox {
            width: 100%;
            padding: 90px 0;

            .title {
                position: relative;

                p {
                    @extend %title_p;
                }

                .all {
                    @extend %title_all
                }
            }

            .art {
                .works {
                    width: 291px;
                    height: 291px;
                    float: left;
                    margin: 6px;
                    border: 1px solid #a0a0a0;

                    &:hover {
                        @extend %hover;
                    }


                    &:first-child {
                        width: 593px;
                        height: 593px;

                        p:first-of-type {
                            margin-top: 35px;
                        }
                    }

                    &:nth-child(n+6) {
                        width: 392px;
                        height: 504px;
                    }

                    img {
                        width: 100%;
                    }

                    p {
                        line-height: 30px;
                        margin-left: 12px;

                        &:first-of-type {
                            font-size: 18px;
                            line-height: 30px;
                        }

                        span {
                            color: red;
                        }
                    }
                }

            }

            // 为盒子清除浮动
            .art::after {
                content: "";
                clear: both;
                display: block;
                height: 0;
            }
        }

        .artistBox {
            width: 1212px;

            .title {
                position: relative;
                margin-bottom: 10px;

                p {
                    @extend%title_p;
                }

                .all {
                    @extend %title_all
                }
            }

            .artistOneBox {
                width: 100%;
                margin-bottom: 12px;
                position: relative;

                .left {
                    width: 493px;
                    height: 500px;
                    font-size: 14px;
                    position: relative;
                    z-index: 1;

                    .imgBox {
                        width: 100%;

                        img {
                            display: block;
                        }
                    }

                    .infoBox {
                        border: 1px solid #a0a0a0;
                        background-color: #fff;
                        border-top: 0;
                        position: relative;

                        p {
                            line-height: 20px;
                            margin-left: 12px;

                            &:first-of-type {
                                font-size: 18px;
                                line-height: 40px;
                                padding-top: 7px;
                                // padding-bottom: 5px;
                            }

                            span {
                                color: red;
                            }
                        }

                        button {
                            font-size: 14px;
                            position: absolute;
                            bottom: 45px;
                            right: 53px;
                        }
                    }
                }

                .right {
                    width: 747px;
                    height: 354px;
                    background-color: #fff;
                    font-size: 18px;
                    line-height: 35px;
                    padding: 134px 175px 0;
                    position: absolute;
                    top: 73px;
                    left: 450px;
                    z-index: 2;
                }

                .redBorder {
                    width: 646px;
                    height: 428px;
                    border: solid 3px #cf0d0d;
                    position: absolute;
                    top: 36px;
                    left: 450px;
                    z-index: 0;
                }
            }

            .artistTwoBox {
                width: 100%;
                height: 1012px;
                display: flex;
                flex-flow: wrap;
                justify-content: space-between;
                align-content: space-between;

                .artist {
                    width: 392px;
                    height: 500px;
                    font-size: 14px;

                    &:hover {
                        @extend %hover;
                    }

                    .imgBox {
                        img {
                            width: 100%;
                            display: block;
                        }
                    }

                    .infoBox {
                        border: 1px solid #a0a0a0;
                        background-color: #fff;
                        padding-bottom: 25px;
                        border-top: 0;
                        position: relative;

                        p {
                            line-height: 20px;
                            margin-left: 12px;

                            &:first-of-type {
                                line-height: 40px;
                                font-size: 18px;
                                padding-top: 44px;
                                padding-bottom: 25px;
                            }

                            span {
                                color: red;
                            }
                        }

                        button {
                            font-size: 14px;
                            position: absolute;
                            bottom: 94px;
                            right: 17px;
                        }
                    }
                }
            }
        }

        .exhBox {
            width: 1200px;
            margin: 100px auto 0;

            .title {
                position: relative;
                margin-bottom: 10px;

                p {
                    @extend%title_p;
                }

                .all {
                    @extend %title_all
                }
            }

            .exhBox_top {
                width: 100%;
                position: relative;

                .bgBox {
                    img {
                        width: 100%;
                        display: block;
                    }

                    .empty {
                        width: 100%;
                        height: 513px;
                        background-color: #ecebeb;
                        opacity: 0.8;
                        position: absolute;
                        top: 0;
                    }
                }

                .titleBox {
                    text-align: center;

                    p:first-child {
                        width: 376px;
                        font-size: 24px;
                        color: #313030;
                        position: absolute;
                        top: 25px;
                        left: 412px;
                    }

                    p:last-child {
                        width: 125px;
                        font-size: 30px;
                        color: #313030;
                        position: absolute;
                        top: 60px;
                        left: 537px;
                    }
                }

                .exhArea {
                    width: 800px;
                    display: flex;
                    position: absolute;
                    top: 157px;
                    left: 203px;

                    >div {
                        width: 200px;
                        height: 277px;
                        border: solid 1px #a0a0a0;
                        background-color: #fff;
                        position: relative;

                        .circle {
                            // margin-top: 50px;
                            // margin-left: 41.5px;
                            width: 112px;
                            height: 64px;
                            background-color: #fff;
                            border-left: 1px solid black;
                            border-right: 1px solid black;
                            position: absolute;
                            top: 50px;
                            left: 41.5px;

                            &:nth-of-type(2) {
                                transform: rotate(60deg);
                            }

                            &:nth-of-type(3) {
                                transform: rotate(-60deg);
                            }
                        }

                        span {
                            font-size: 24px;
                            font-weight: bold;
                            position: absolute;
                            top: 67px;
                            left: 63px;
                        }

                        p {
                            font-size: 12px;

                            &:first-of-type {
                                font-size: 18px;
                                font-weight: bold;
                                position: absolute;
                                top: 165px;
                                left: 54px;
                            }

                            &:nth-of-type(2) {
                                position: absolute;
                                top: 217px;
                                left: 37px;
                            }

                            &:last-of-type {
                                width: 110px;
                                text-align: center;
                                color: #fff;
                                background-color: #cf0d0d;
                                position: absolute;
                                top: 240px;
                                left: 44px;
                            }
                        }

                        // 悬浮效果
                        &:hover {
                            background-color: #cf0d0d;
                            @extend %hover;

                            p:last-of-type {
                                color: #000;
                                background-color: #fff;
                            }
                        }
                    }
                }

                // 左右箭头
                .icon-arrow-left {
                    font-size: 58px;
                    color: #cf0d0d;
                    position: absolute;
                    top: 260px;
                    left: 80px;
                }

                .icon-W-03 {
                    font-size: 58px;
                    color: #cf0d0d;
                    position: absolute;
                    top: 260px;
                    right: 80px;
                }
            }

            .exhBox_bottom {
                width: 100%;
                position: relative;

                .bgBox {
                    img {
                        width: 100%;
                        display: block;
                    }

                    .empty {
                        width: 100%;
                        height: 579px;
                        background-color: #575757;
                        opacity: 0.3;
                        position: absolute;
                        top: 0;
                    }
                }

                .titleBox {
                    text-align: center;

                    p:first-child {
                        width: 210px;
                        font-size: 16px;
                        color: #fff;
                        position: absolute;
                        top: 32px;
                        left: 494px;
                    }

                    p:last-child {
                        width: 76px;
                        font-size: 24px;
                        color: #fff;
                        position: absolute;
                        top: 57px;
                        left: 561px;
                    }
                }

                .exhArea {
                    width: 890px;
                    display: flex;
                    justify-content: space-between;
                    position: absolute;
                    top: 105px;
                    left: 155px;

                    .circle {
                        width: 290px;
                        height: 425px;
                        background-color: #fff;
                        position: relative;

                        &:hover {
                            @extend %hover;
                        }

                        img {
                            width: 100%;
                            display: block;
                        }

                        h3 {
                            font-size: 20px;
                            margin: 20px 10px 10px;
                        }

                        p {
                            width: 240px;
                            font-size: 12px;
                            margin-left: 10px;
                        }
                    }
                }

                // 左右箭头
                .icon-arrow-left {
                    font-size: 58px;
                    color: #cf0d0d;
                    position: absolute;
                    top: 290px;
                    left: 90px;
                }

                .icon-W-03 {
                    font-size: 58px;
                    color: #cf0d0d;
                    position: absolute;
                    top: 290px;
                    right: 90px;
                }
            }
        }

        .articBox {
            width: 100%;
            margin-top: 100px;

            .title {
                position: relative;
                margin-bottom: 10px;

                p {
                    @extend%title_p;
                }

                .all {
                    @extend %title_all
                }
            }

            .artic_content {
                width: 100%;
                height: 1012px;
                display: flex;
                flex-flow: wrap;
                justify-content: space-between;
                align-content: space-between;

                .circle {
                    width: 392px;
                    height: 500px;

                    .imgBox {
                        img {
                            width: 100%;
                            display: block;
                        }
                    }

                    .textBox {
                        border: 1px solid #a0a0a0;
                        background-color: #fff;
                        border-top: 0;
                        padding-bottom: 10px;
                        position: relative;

                        h3 {
                            font-size: 18px;
                            padding: 25px 5px 15px;
                        }

                        p:first-of-type {
                            font-size: 12px;
                            padding: 5px;

                            span {
                                color: red;
                                font-weight: bold;
                            }
                        }

                        p:last-of-type {
                            font-size: 14px;
                            color: #535353;
                            margin-top: 10px;
                            font-weight: bold;

                            span {
                                margin-left: 5px;

                                &:first-child {
                                    font-family: "by";
                                }
                            }
                        }

                        >span {
                            width: 70px;
                            height: 20px;
                            font-size: 12px;
                            font-style: italic;
                            border: solid 1px #7d7d7d;
                            border-radius: 10px;
                            position: absolute;
                            top: 165px;
                            left: 300px;

                            // background-color: #cf0d0d;

                            // 爱心
                            .icon-aixin {
                                color: #cf0d0d;
                                margin: 0px 5px;
                            }
                        }
                    }

                    &:hover {
                        @extend %hover;

                        .textBox {
                            h3 {
                                color: red;
                            }

                            p {
                                span:last-child {
                                    color: red;
                                }
                            }

                            >span {
                                color: #fff;
                                background-color: #cf0d0d;

                                .icon-aixin {
                                    color: #fff;
                                }
                            }
                        }
                    }
                }
            }

        }

        .backBox {
            @extend %back;
            margin: 77px auto;
        }
    }
}